<link rel="stylesheet" href="/statics/css/photo.css">
<div class="blog-photo blog-details-area section">
    <div class="col-md-8 col-md-offset-2 text-center gtco-heading">
        <h2>
            <?=$row['title']?></h2>
            <p class="abstr"><?=$row['abstr']?></p>
    </div>
    <div class="photo-content row">
        <?php if (count($data['rows'])):?>
           <?php foreach ($data['rows'] as $key=>$item):?>
                <div class="col-md-3 col-sm-6">
                    <div class="portfolio-item">
                        <img src="<?=$item['url']?>" class="img-responsive" onerror="this.src='/statics/images/img_9.jpg'">
                        <span class="icon-time"><i>2020</i><i></i><i>05 - 25</i></span>
                    </div>
                </div>
            <?php endforeach;?>
        <?php endif;?>
    </div>
</div>